package com.spring.comment.web.service;

import java.util.List;
import java.util.Map;

import com.spring.careclassapi.web.model.*;

public interface CommentService {
	Map<String, Object> insertCommentService(String userID,String userType,String userName,String serviceID,String businessTypeCode,
			String serviceModuleCode,String comment) throws Exception;
	Map<String, Object> createCommentService(String token,String serviceID,String businessTypeCode,
			String serviceModuleCode,String comment) throws Exception ;
	
	
	Map<String, Object> insertCommentCustomerService(String toUserID,String toUserType,String toUserName,
			String fromUserID,String fromUserType,String fromUserName,String serviceID,String businessTypeCode,
			String serviceModuleCode,String comment) throws Exception;
	
	Map<String, Object> createCommentCustomerService(String token, String serviceID,String toUserID,String toUserType,
			String toUserName, String businessTypeCode, String serviceModuleCode, String comment) throws Exception ;
	
	
	Map<String, Object> getCommentService(String businessTypeCode,String serviceID,String userID,
			String serviceModuleCode,String pageSize,String pageIndex,String skip,String rows)  throws Exception;
	Map<String, Object> getCommentItem(String businessTypeCode,String serviceID,String fromUserID,String toUserID,
			String serviceModuleCode,String pageSize,String pageIndex,String skip,String rows) ;
	
//	Map<String, Object> getCommentServiceItem2(String businessTypeCode,String serviceID,String fromUserID,String toUserID,
//			String serviceModuleCode,String pageSize,String pageIndex,String skip,String rows) throws Exception;	
	
	Map<String, Object> getCommentCustomer(String businessTypeCode,String serviceID,String toUserID,String fromUserID,
			String serviceModuleCode,String pageSize,String pageIndex,String skip,String rows) throws Exception;
	

}
